package com.cash.loan.modular.cash.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 产品详情表
 * </p>
 *
 * @author yangbo123
 * @since 2018-07-09
 */
@TableName("loan_product_detail")
public class LoanProductDetail extends Model<LoanProductDetail> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 产品编号
     */
    private String productId;
    /**
     * 产品名称
     */
    private String productName;
    /**
     * 产品h5链接
     */
    private String productH5Url;
    /**
     * 产品图标路径
     */
    private String productIconUrl;
    /**
     * 借款详情[{itemNo:1,key:贷款范围,val:500元-5000元},{itemNo:2,key:贷款利率,val:0.05%},{itemNo:3,key:贷款期限,val:7天-14天},{itemNo:4,key:申请人数,val:97638人}]
     */
    private String loanDetailList;
    /**
     * 申请流程[{itemNo:1,val:身份认证},{itemNo:2,val:基本信息},{itemNo:3,val:芝麻分授权},{itemNo:4,val:审核放款}]
     */
    private String applyFlowList;
    /**
     * 申请条件
     */
    private String applyCondition;
    /**
     * 审核说明
     */
    private String auditDetail;
    /**
     * 产品介绍
     */
    private String productIntroduce;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date modifyTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductH5Url() {
        return productH5Url;
    }

    public void setProductH5Url(String productH5Url) {
        this.productH5Url = productH5Url;
    }

    public String getProductIconUrl() {
        return productIconUrl;
    }

    public void setProductIconUrl(String productIconUrl) {
        this.productIconUrl = productIconUrl;
    }

    public String getLoanDetailList() {
        return loanDetailList;
    }

    public void setLoanDetailList(String loanDetailList) {
        this.loanDetailList = loanDetailList;
    }

    public String getApplyFlowList() {
        return applyFlowList;
    }

    public void setApplyFlowList(String applyFlowList) {
        this.applyFlowList = applyFlowList;
    }

    public String getApplyCondition() {
        return applyCondition;
    }

    public void setApplyCondition(String applyCondition) {
        this.applyCondition = applyCondition;
    }

    public String getAuditDetail() {
        return auditDetail;
    }

    public void setAuditDetail(String auditDetail) {
        this.auditDetail = auditDetail;
    }

    public String getProductIntroduce() {
        return productIntroduce;
    }

    public void setProductIntroduce(String productIntroduce) {
        this.productIntroduce = productIntroduce;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "LoanProductDetail{" +
        "id=" + id +
        ", productId=" + productId +
        ", productName=" + productName +
        ", productH5Url=" + productH5Url +
        ", productIconUrl=" + productIconUrl +
        ", loanDetailList=" + loanDetailList +
        ", applyFlowList=" + applyFlowList +
        ", applyCondition=" + applyCondition +
        ", auditDetail=" + auditDetail +
        ", productIntroduce=" + productIntroduce +
        ", createTime=" + createTime +
        ", modifyTime=" + modifyTime +
        "}";
    }
}
